package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface setmealDishMapper {
    List<Long> setmealIds(List<Long> dishids);


    void add(List<SetmealDish> setmealDishes);

    void delete(List<Long> ids);

    @Select("select * from sky_take_out.setmeal_dish WHERE setmeal_id = #{setmealid}")
    List<SetmealDish> getbysetmealId(Long setmealid);
}
